from django.urls import path,re_path
from .views import *
# url的命名空间
app_name = 'user'
urlpatterns = [
    path('registe/',Registe.as_view(),name='registe'),
    path('login/',LoginView.as_view(),name='login'),
    path('logout/',LogoutView.as_view(),name='logout'),
    path('email/<emails>/', check_email_view,name='check_email_view'),
    re_path('username/(?P<username>\w{5,20})/', check_username_view, name='check_username'),
    ]